package com.info.zhiduoduo.pay.sdk.zhaoshangbank.model.request.tradebulter.detail;

import com.google.common.collect.Lists;
import com.info.zhiduoduo.pay.formbean.zhaoshangtradebulter.DeleteSubLedgerFormBean;
import com.info.zhiduoduo.pay.formbean.zhaoshangtradebulter.QuerySubLedgerBalanceFormBean;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DeleteSubLedgerNoInfo {

	/** 记账子单元编号	dmanbr	String(20)		填空表示查询该账号下所有记账子单元信息 */
	private String dmanbr;

	public static List<DeleteSubLedgerNoInfo> ofList(DeleteSubLedgerFormBean formBean) {
		List<DeleteSubLedgerNoInfo> list = Lists.newArrayList();
		DeleteSubLedgerNoInfo info = new DeleteSubLedgerNoInfo().setDmanbr(formBean.getLedgerNo());
		list.add(info);
		return list;
	}
}
